package com.moliyou.t2.mapper;

import com.moliyou.t2.VO.UserVO1;
import com.moliyou.t2.pojo.user;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface userMapper {
    @Insert("insert into user(username,password,nickname,created) values(#{username},#{password},#{nickname},#{created})")
    public int insertUser(user u);
    UserVO1 selectUserAndWeiboById(Integer id);
}
